<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex flex-wrap align-center justify-between benben-position-layout flex order_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center order_fd0_0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <image class='order_fd0_0_c0'  mode="aspectFit"  :src='STATIC_URL+"234.png"'></image>
</view>
<text class='order_fd0_1'  >我的订单</text>
    <view   class='flex flex-wrap align-center order_fd0_0'      >
        </view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---多商订单tabsflex布局开始-->
 <view class="flex align-stretch benben-flex-layout"    >
        <view>
        <benben-flex-tabs class-name='order_benbenTabsfd1_0'  v-model="type" ref="benben_tabsfd1_0" select-mark="benben_tabsfd1_0" key="benben_tabsfd1_0" :open-title-type='false' :open-sticky='true' :top='88' :is-show-content='false' :scrollspy='false'  :tabs-info.sync="tabsInfofd1_0" @change="getTabsFunc()" >
            
                    <scroll-view
          @scroll="tabsInfofd1_0.scrollX = $event.detail.scrollLeft"
          id="benben_tabsfd1_0"
          class="benben-tabs"
          style="width:750rpx"
          :scroll-x="true"
          :scroll-left.sync="tabsInfofd1_0.moveX"
          scroll-with-animation="all .3s ease"
        >
          <view class="benben-tabs-content" id="benben_tabsfd1_0-content">
            <view id="benben_tabsfd1_0-title" class="benben-tabs-title flex align-center flex ">
                        <view 
                :class="{ 'checkTitlefd1_0': type == 'all', 'flex flex-wrap align-center order_titlefd1_0_c3': true }"
                @tap="type = 'all'"
                :id="`benben_tabsfd1_0-title-item-${'all'}`"
                
                
              >
                
<text   >全部</text>

              </view>            <view 
                :class="{ 'checkTitlefd1_0': type == 'unpay', 'flex flex-wrap align-center order_titlefd1_0_c4': true }"
                @tap="type = 'unpay'"
                :id="`benben_tabsfd1_0-title-item-${'unpay'}`"
                
                
              >
                
<text   >待付款</text>

              </view>            <view 
                :class="{ 'checkTitlefd1_0': type == 'unship', 'flex flex-wrap align-center order_titlefd1_0_c4': true }"
                @tap="type = 'unship'"
                :id="`benben_tabsfd1_0-title-item-${'unship'}`"
                
                
              >
                
<text   >待发货</text>

              </view>            <view 
                :class="{ 'checkTitlefd1_0': type == 'unreceive', 'flex flex-wrap align-center order_titlefd1_0_c4': true }"
                @tap="type = 'unreceive'"
                :id="`benben_tabsfd1_0-title-item-${'unreceive'}`"
                
                
              >
                
<text   >待收货</text>

              </view>            <view 
                :class="{ 'checkTitlefd1_0': type == 'finish', 'flex flex-wrap align-center order_titlefd1_0_c4': true }"
                @tap="type = 'finish'"
                :id="`benben_tabsfd1_0-title-item-${'finish'}`"
                
                
              >
                
<text   >待评价</text>

              </view>            <view 
                :class="{ 'checkTitlefd1_0': type == '6', 'flex flex-wrap align-center order_titlefd1_0_c8': true }"
                @tap="type = '6'"
                :id="`benben_tabsfd1_0-title-item-${'6'}`"
                
                
              >
                
<text   >退款/售后</text>

              </view>
            </view>
            <view :style="{ left: tabsInfofd1_0.lineleft, maxWidth: tabsInfofd1_0.lineWidth ,}" id="benben_tabsfd1_0-line" class="benben-tabs-line flex benben-flex-tabs-line order_linefd1_0"></view>
          </view>
        </scroll-view>
            
        </benben-flex-tabs>
        
</view>
</view>
        
<!---多商订单tabsflex布局结束-->
<!---多商订单商品flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout order_flex_2"   v-if= "type!='6'" >
            <template v-for = '(item,key0) in dataList'>
    <view   class='flex flex-direction flex-wrap align-stretch order_fd2_0'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/ddgl/redemptDetails/redemptDetails?order_id=${item.aid}&order_sn=${item.order_sn}`"    :key='key0'>
            <view   class='flex flex-wrap align-center order_fd2_0_c0'      >
        <text class='order_fd2_0_c0_c0'  >订单编号：</text>
<text class='order_fd2_0_c0_c1'  >{{item.order_sn}}</text>
<text class='order_fd2_0_c0_c2'    v-if= "item.status=='0'"  >{{$t('待付款')}}</text><text class='order_fd2_0_c0_c2'    v-if= "item.status=='1'"  >待发货</text><text class='order_fd2_0_c0_c2'    v-if= "item.status=='2'"  >待收货</text><text class='order_fd2_0_c0_c2'    v-if= "item.status=='3'"  >待评价</text><text class='order_fd2_0_c0_c2'    v-if= "item.status=='4'"  >交易成功</text><text class='order_fd2_0_c0_c2'    v-if= "in_array(item.status,'6,-1')"  >交易关闭</text><text class='order_fd2_0_c0_c2'    v-if= "item.status=='7'"  >预售待付尾款</text>
</view>
    <template v-for = '(child,key1) in item.goods'>
    <view   class='flex align-stretch order_fd2_0_c1'       :key='key1'>
        <image class='order_fd2_0_c1_c0'  mode="aspectFill"  :src='child.goods_thumb'></image>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub order_fd2_0_c1_c1'      >
        <text class='order_fd2_0_c1_c1_c0'  >{{child.goods_name}}</text>
<text class='order_fd2_0_c1_c1_c1'  >{{child.sku_name}}</text>
    <view   class='flex flex-wrap align-center justify-between'      >
            <view   class='flex flex-wrap align-center'      >
        <text class='order_fd2_0_c1_c1_c2_c0_c0'  >￥</text>
<text class=' order_fd2_0_c1_c1_c2_c0_c1'   >
    <text class=' order_price1_fd2_0_c1_c1_c2_c0_c1' >{{ child.shop_price | frontPrice }}</text>
    <text class=' order_price2_fd2_0_c1_c1_c2_c0_c1' >{{ child.shop_price | laterPrice }}</text>
</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='order_fd2_0_c1_c1_c2_c1_c0'  >x</text>
<text class='order_fd2_0_c1_c1_c2_c1_c0'  >{{child.num}}</text>
</view>
</view>
</view>
</view>
    </template>
    
    <view   class='flex flex-wrap align-center justify-end order_fd2_0_c2'      >
        <text class='order_fd2_0_c2_c0'  >{{$t('共')}}</text>
<text class='order_fd2_0_c2_c0'  >{{item.goods_total}}</text>
<text class='order_fd2_0_c2_c2'  >{{$t('件商品')}}</text>
<text class='order_fd2_0_c2_c3'    v-if= " item.status==0 || item.status=='-1'"  >{{$t('应付款')}}</text><text class='order_fd2_0_c2_c3_1'    v-if= " item.status!=0 && item.status!='-1'"  >实付款</text>
<text class='order_fd2_0_c2_c4'  >￥</text>
<text class=' order_fd2_0_c2_c5'   >
    <text class=' order_price1_fd2_0_c1_c1_c2_c0_c1' >{{ item.payable_money | frontPrice }}</text>
    <text class=' order_price2_fd2_0_c1_c1_c2_c0_c1' >{{ item.payable_money | laterPrice }}</text>
</text>
</view>
    <view   class='flex flex-wrap align-center justify-end order_fd2_0_c3'      >
        <button class='order_fd2_0_c3_c0'  @tap.stop="getinvoice_order_idFunc(item.aid)" v-if= "item.btn_list.apply_invoice=='1'" >申请开票</button><button class='order_fd2_0_c3_c0'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/fp/invoiceDetail/invoiceDetail?order_id=${item.aid}`" v-if= "item.btn_list.view_invoice=='1'" >查看发票</button>
<button class='order_fd2_0_c3_c1'  @tap.stop="isMultiplePackagesFunc(item.is_multiple_package,item.aid)" v-if= "item.btn_list.view_logistics=='1'" >{{$t('查看物流')}}</button><button class='order_fd2_0_c3_c1'  @tap.stop="deleteOrderFunc(item.aid)" v-if= "item.btn_list.delete_order=='1'" >删除订单</button>
<button class='order_fd2_0_c3_c1'  @tap.stop="getCancelIDFunc(item.aid)" v-if= "item.btn_list.cancel_order=='1'" >{{$t('取消订单')}}</button><button class='order_fd2_0_c3_c1'   v-if= "item.btn_list.apply_refund=='1'" >申请售后</button>
<button class='order_fd2_0_c3_c3'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/sy/offerPay/offerPay?order_sn=${item.order_sn}&order_type=3`" v-if= "item.btn_list.go_pay=='1'" >{{$t('去付款')}}</button><button class='order_fd2_0_c3_c3'  @tap.stop="remindShipFunc(item.aid)" v-if= "item.btn_list.remind_send=='1'" >提醒发货</button><button class='order_fd2_0_c3_c3'  @tap.stop="confirmReceiptFunc(item.aid)" v-if= "item.btn_list.confirm_receive=='1'" >确认收货</button><button class='order_fd2_0_c3_c3'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/ddgl/evaluation/evaluation?id=${item.aid}`" v-if= "item.btn_list.evaluate=='1'" >评价</button><button class='order_fd2_0_c3_c3'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/sy/offerPay/offerPay?order_sn=${item.final_order_sn}&order_type=3`" v-if= "item.btn_list.pay_balance=='1' && item.order_type=='7'" >支付尾款</button><button class='order_fd2_0_c3_c3'   v-if= "item.status=='0' && item.order_type=='offline_pay'" >转账详情</button><button class='order_fd2_0_c3_c3'   v-if= "item.btn_list.remind_already=='1'" >已提醒</button>
</view>
</view>
    </template>
    <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
</view>
        
<!---多商订单商品flex布局结束-->
<benben-popup v-model="popupShow1679903057541" :mask="true" :mask-close-able="true"  mode='bottom' >
    <!---取消订单flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout order_flex_3"    >
            <view   class='flex flex-direction flex-wrap align-stretch order_fd3_0'      >
            <view   class='flex flex-wrap align-center justify-between order_fd3_0_c0'      >
        <text class='order_fd3_0_c0_c0'     @tap.stop="popupShow1679903057541=false" >取消</text>
<text class='order_fd3_0_c0_c1'  >取消订单</text>
<text class='order_fd3_0_c0_c2'     @tap.stop="cancelOrderFunc()" >确定</text>
</view>
    <view   class='flex flex-wrap align-center order_fd3_0_c1'      >
        <text class='order_fd3_0_c1_c0'  >请选择取消订单原因</text>
</view>
    
    <scroll-view  class='order_fd3_0_c2'  :scroll-y='true'  >
        <view class='flex flex-direction align-stretch benben-scroll flex'    >
                <benben-select-diy ref="showSelectPopup1693558148529" class-name='flex flex-direction flex'  :items.sync="cancelType" v-model="return_id"  default-type="aid" default-label="reason" :allow-cancel='true' type="radio" :disabled='false'  >
    <template v-for = '(item,key0) in cancelType'>
            <view v-if="item.isSelected"  class='flex justify-between flex order_fd3_0_c2_c0_c0'  :key="key0" @tap="$refs.showSelectPopup1693558148529.tapHandle(key0)"     >
        <text   >{{item.reason}}</text>
<image class='order_fd3_0_c2_c0_c0_c1'  mode="aspectFit"  :src='STATIC_URL+"3.png"'></image>
</view>    <view  v-else  class='flex justify-between flex order_fd3_0_c2_c0_c0'  :key="key0" @tap="$refs.showSelectPopup1693558148529.tapHandle(key0)"     >
        <text   >{{item.reason}}</text>
<image class='order_fd3_0_c2_c0_c0_c1'  mode="aspectFit"  :src='STATIC_URL+"289.png"'></image>
</view></template></benben-select-diy>
</view>
    </scroll-view>
    
</view>
</view>
        
<!---取消订单flex布局结束-->
    
</benben-popup>
<!---多商退货flex布局开始-->
 <view class="flex flex-direction align-stretch benben-flex-layout order_flex_4"   v-if= "type=='6'" >
            <template v-for = '(item,key0) in dataAfterList'>
    <view   class='flex flex-direction flex-wrap align-stretch order_fd4_0'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/ddgl/detailsRefund/detailsRefund?id=${item.aid}`"    :key='key0'>
            <view   class='flex flex-wrap align-center order_fd4_0_c0'      >
        <text class='order_fd4_0_c0_c0'  >订单编号：</text>
<text class='order_fd4_0_c0_c1'  >{{item.order_sn}}</text>
<text class='order_fd4_0_c0_c2'    v-if= "item.refund_type=='1'"  >退款</text><text class='order_fd4_0_c0_c2_1'    v-if= "item.refund_type=='2'"  >退货退款</text><text class='order_fd4_0_c0_c2_1'    v-if= "item.refund_type=='3'"  >换货</text>
    <view   class='flex flex-wrap align-center'    v-if= "item.refund_type=='1' || item.refund_type=='2'"  >
        <text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='0'"  >待审核</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='1' && item.express_no==''"  >待寄回</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='2'"  >待退款</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='3'"  >商家已收货</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='4'"  >售后已完成</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status<'0'"  >售后关闭</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='1' && item.express_no!=''"  >待退款</text>
</view>
    <view   class='flex flex-wrap align-center'    v-if= "item.refund_type=='3'"  >
        <text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='0'"  >待审核</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='1' && item.express_no==''"  >待寄回</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='1' && item.express_no!=''"  >待收货</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='2'"  >待发货</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='4'"  >已发货</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status=='5'"  >售后完成</text><text class='order_fd4_0_c0_c3_c0'    v-if= "item.status<'0'"  >售后关闭</text>
</view>
</view>
    <view   class='flex align-stretch order_fd4_0_c1'      >
        <image class='order_fd4_0_c1_c0'  mode="aspectFill"  :src='item.goods_thumb'></image>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub order_fd4_0_c1_c1'      >
        <text class='order_fd4_0_c1_c1_c0'  >{{item.goods_name}}</text>
<text class='order_fd4_0_c1_c1_c1'  >{{item.sku_name}}</text>
    <view   class='flex flex-wrap align-center justify-between'      >
            <view   class='flex flex-wrap align-center'      >
        <text class='order_fd4_0_c1_c1_c2_c0_c0'  >￥</text>
<text class=' order_fd4_0_c1_c1_c2_c0_c1'   >
    <text class=' order_price1_fd4_0_c1_c1_c2_c0_c1' >{{ item.shop_price | frontPrice }}</text>
    <text class=' order_price2_fd4_0_c1_c1_c2_c0_c1' >{{ item.shop_price | laterPrice }}</text>
</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='order_fd4_0_c1_c1_c2_c1_c0'  >x</text>
<text class='order_fd4_0_c1_c1_c2_c1_c0'  >{{item.num}}</text>
</view>
</view>
</view>
</view>
    <view   class='flex flex-wrap align-center justify-end order_fd4_0_c2'      >
        <button class='order_fd4_0_c2_c0'   v-if= "item.status=='2'" >{{$t('查看详情')}}</button><button class='order_fd4_0_c2_c0'  @tap.stop="AfterSalesDeleteFunc(item.aid)" v-if= "item.status=='4' || item.status=='5'" >删除订单</button><button class='order_fd4_0_c2_c0'   v-if= "item.status<'0'" >删除订单</button>
<button class='order_fd4_0_c2_c1'   v-if= "item.status!='2'" >查看详情</button><button class='order_fd4_0_c2_c1'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/ddgl/logisticsCheck/logisticsCheck?order_id=${item.order_id}`" v-if= "item.status=='2'" >查看物流</button>
</view>
</view>
    </template>
    <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
</view>
        
<!---多商退货flex布局结束-->
<benben-popup v-model="popupShow1679650134928" :mask="true" :mask-close-able="true"  mode='bottom' >
    <!---flex布局flex布局开始-->
 <view class="flex flex-direction align-stretch benben-flex-layout order_flex_5"    >
            <view   class='flex flex-wrap align-center justify-center order_fd5_0'      >
        <image class='order_fd5_0_c0'  mode="aspectFit"  :src='STATIC_URL+"127.png"'></image>
<text class='order_fd5_0_c1'  >抬头选择</text>
<image class='order_fd5_0_c0'  mode="aspectFit"  :src='STATIC_URL+"128.png"'></image>
<image class='order_fd5_0_c3'  mode="aspectFit"  :src='STATIC_URL+"131.png"' @tap.stop="popupShow1679650134928=false" ></image>
</view>
    
    <scroll-view  class='order_fd5_1'  :scroll-y='true'  >
        <view class='flex flex-direction align-stretch benben-scroll flex'    >
                <benben-select-diy ref="showSelectPopup1687657939559" class-name='flex flex-direction align-stretch flex order_fd5_1_c0'  :items.sync="invoiceData" v-model="invoice_id" @change="isokfapiaoFunc()" default-type="aid" default-label="username" :allow-cancel='false' type="radio" :disabled='false'  >
    <template v-for = '(item,key0) in invoiceData'>
            <view v-if="item.isSelected"  class='flex align-center flex order_fd5_1_c0_c0'  :key="key0" @tap="$refs.showSelectPopup1687657939559.tapHandle(key0)"     >
        <image class='order_fd5_1_c0_c0_c0'  mode="aspectFit"  :src='STATIC_URL+"3.png"'></image>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub order_fd5_1_c0_c0_c1'      >
            <view   class='flex flex-wrap align-center'      >
        <text class='order_fd5_1_c0_c0_c1_c0_c0'  >{{item.username}}</text>
<image class='order_fd5_1_c0_c0_c1_c0_c1'  mode="aspectFit"  :src='STATIC_URL+"133.png"'  v-if= "item.is_default=='1'"></image>
    <view   class='flex flex-wrap align-center order_fd5_1_c0_c0_c1_c0_c2'      >
        <text class='order_fd5_1_c0_c0_c1_c0_c2_c0'    v-if= "item.type=='1'"  >个人</text><text class='order_fd5_1_c0_c0_c1_c0_c2_c0_1'    v-if= "item.type!='1'"  >企业</text>
</view>
</view>
    <view   class='flex flex-wrap align-center order_fd5_1_c0_c0_c1_c1'      >
            <view   class='flex flex-direction flex-wrap align-stretch flex-sub'      >
            <view   class='flex flex-wrap align-center'      >
        <text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c0'  >联系邮箱</text>
<text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c1'  >{{item.email}}</text>
</view>
    <view   class='flex flex-wrap align-center order_fd5_1_c0_c0_c1_c1_c0_c1'      >
        <text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c0'  >联系电话</text>
<text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c1'  >{{item.mobile}}</text>
</view>
</view>
    <view   class='flex flex-wrap align-center'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/fp/ApplyOpenInvoicessss/ApplyOpenInvoicessss?id=${item.aid}`"   >
        <image class='order_fd5_1_c0_c0_c1_c1_c1_c0'  mode="aspectFit"  :src='STATIC_URL+"134.png"'></image>
<text class='order_fd5_1_c0_c0_c1_c1_c1_c1'  >编辑</text>
</view>
</view>
</view>
</view>    <view  v-else  class='flex align-center flex order_fd5_1_c0_c0'  :key="key0" @tap="$refs.showSelectPopup1687657939559.tapHandle(key0)"     >
        <image class='order_fd5_1_c0_c0_c0'  mode="aspectFit"  :src='STATIC_URL+"135.png"'></image>
    <view   class='flex flex-direction flex-wrap align-stretch flex-sub order_fd5_1_c0_c0_c1'      >
            <view   class='flex flex-wrap align-center'      >
        <text class='order_fd5_1_c0_c0_c1_c0_c0'  >{{item.username}}</text>
<image class='order_fd5_1_c0_c0_c1_c0_c1'  mode="aspectFit"  :src='STATIC_URL+"133.png"'  v-if= "item.is_default=='1'"></image>
    <view   class='flex flex-wrap align-center order_fd5_1_c0_c0_c1_c0_c2'      >
        <text class='order_fd5_1_c0_c0_c1_c0_c2_c0'    v-if= "item.type=='1'"  >个人</text><text class='order_fd5_1_c0_c0_c1_c0_c2_c0_1'    v-if= "item.type!='1'"  >企业</text>
</view>
</view>
    <view   class='flex flex-wrap align-center order_fd5_1_c0_c0_c1_c1'      >
            <view   class='flex flex-direction flex-wrap align-stretch flex-sub'      >
            <view   class='flex flex-wrap align-center'      >
        <text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c0'  >联系邮箱</text>
<text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c1'  >{{item.email}}</text>
</view>
    <view   class='flex flex-wrap align-center order_fd5_1_c0_c0_c1_c1_c0_c1'      >
        <text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c0'  >联系电话</text>
<text class='order_fd5_1_c0_c0_c1_c1_c0_c0_c1'  >{{item.mobile}}</text>
</view>
</view>
    <view   class='flex flex-wrap align-center'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/fp/ApplyOpenInvoicessss/ApplyOpenInvoicessss?id=${item.aid}`"   >
        <image class='order_fd5_1_c0_c0_c1_c1_c1_c0'  mode="aspectFit"  :src='STATIC_URL+"134.png"'></image>
<text class='order_fd5_1_c0_c0_c1_c1_c1_c1'  >编辑</text>
</view>
</view>
</view>
</view></template></benben-select-diy>
<benben-empty :list-data="invoiceData">
<view class='flex flex-direction flex-wrap align-center order_fd5_1_c1' >
<image class='order_fd5_1_c1_c0'  mode="widthFix"  :src='STATIC_URL+"178.png"'></image>

</view>
</benben-empty>
</view>
    </scroll-view>
    
<button class='order_fd5_2'  @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/fp/ApplyOpenInvoicessss/ApplyOpenInvoicessss`"  >添加新的抬头</button>
<button class='order_fd5_3'  @tap.stop="popupShow1679650134928=false"  >不开发票</button>
</view>
        
<!---flex布局flex布局结束-->
    
</benben-popup>
    
    
        </view>
    </view>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
import {validate} from '@/common/utils/validate.js'
    export default {
        components:{},
        mixins: [pagingList],
        
        data(){
			return {"popupShow1679650134928":false,"popupShow1679903057541":false,"tabsInfofd1_0":{ lineleft: '', lineWidth: '', moveX: 0, scrollX: 0, PageScrollX: 0 },"minixPagingListsApi":"","pageingListApiMethod":"","allowOnloadGetList":false,"dataList":[],"cancelId":"","cancelType":[],"dataAfterList":[],"invoiceData":[],"invoice_id":"","invoice_order_id":"","return_id":"","type":"all"};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {type}=options
if (type !== undefined) this.type = type
this.queryCancelTypeFunc()
this.getTabsFunc()
this.diyPageListen()
		},
        onUnload() {
            this.diyOffPageListen()    
        },
		onReady(){
            
		},
		onShow(){
            this.queryHeadFunc()
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            this.getTabsFunc()
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //订单-删除订单
                async deleteOrderFunc(id){
                        //请求方法
    //数据验证
    
  let data6447c3b69f234 = await this.$api.dbGet(global.apiUrls.post6447c3b69f234, {
    order_id:id
  });
  if(!data6447c3b69f234) return
  if (data6447c3b69f234.data.code != 1) {
    this.$message.info(data6447c3b69f234.data.msg);
    return
  } 
  
  
  
                    this.$message.info('删除成功');
                    this.getOrderListFunc()
                },
                //预下单-查询发票抬头
                async queryHeadFunc(){
                        //请求方法
    //数据验证
    
  let datainvoiceData = await this.$api.post(global.apiUrls.post641848d371e2f, {
    
  });
  
  if (datainvoiceData.data.code != 1) {
    this.$message.info(datainvoiceData.data.msg);
    return
  } 
  let infoinvoiceData = datainvoiceData.data;
  this.invoiceData = infoinvoiceData.data
  
                },
                //获取发票订单id
                 getinvoice_order_idFunc(id){
                       this.invoice_order_id = id;
    this.popupShow1679650134928 = true;
                },
                //使用发票
                async isokfapiaoFunc(){
                        //请求方法
    //数据验证
    
  let data641ebe3244065 = await this.$api.dbPost(global.apiUrls.post641ebe3244065, {
    order_id:this.invoice_order_id,invoice_header_id:this.invoice_id
  });
  if(!data641ebe3244065) return
  if (data641ebe3244065.data.code != 1) {
    this.$message.info(data641ebe3244065.data.msg);
    return
  } 
  
  
  
                    this.$message.info('开票成功');
    this.popupShow1679650134928 = false;
   this.invoice_id = '';
                    this.getOrderListFunc()
                },
                //订单-订单列表
                 getOrderListFunc(){
                                    this.minixPagingListsApi = global.apiUrls.post62c8f31da5eaa;
                this.pageingListApiMethod = 'post';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {type:this.type}
                this.listData = [];
                this.dataList = this.listData;
                this.pagingListToggle();
                
                },
                //取消订单
                async cancelOrderFunc(){
                                if(!validate(this.return_id,'require')){
                 this.$message.info('请选择取消原因');
                 return false;
            }
    //请求方法
    //数据验证
    
  let data62cb8b8438141 = await this.$api.dbPost(global.apiUrls.post62cb8b8438141, {
    order_id:this.cancelId,return_id:this.return_id
  });
  if(!data62cb8b8438141) return
  if (data62cb8b8438141.data.code != 1) {
    this.$message.info(data62cb8b8438141.data.msg);
    return
  } 
  
  
  
    this.popupShow1679903057541 = false;
                setTimeout(()=>{
                            this.$message.info('取消成功');
                    this.getOrderListFunc()
      },300)
                },
                //获取取消订单id
                 getCancelIDFunc(id){
                       this.cancelId = id;
    this.popupShow1679903057541 = true;
                },
                //订单-查询取消原因
                async queryCancelTypeFunc(){
                        //请求方法
    //数据验证
    
  let datacancelType = await this.$api.get(global.apiUrls.post641ae6544d2d5, {
    type:'2',list_rows:'3'
  });
  
  if (datacancelType.data.code != 1) {
    this.$message.info(datacancelType.data.msg);
    return
  } 
  let infocancelType = datacancelType.data;
  this.cancelType = infocancelType.data
  
                },
                //提醒发货
                async remindShipFunc(id){
                        //请求方法
    //数据验证
    
  let data62bec4f86725d = await this.$api.dbPost(global.apiUrls.post62bec4f86725d, {
    order_id:id
  });
  if(!data62bec4f86725d) return
  if (data62bec4f86725d.data.code != 1) {
    this.$message.info(data62bec4f86725d.data.msg);
    return
  } 
  
  
  
                    this.$message.info('提醒成功');
                    this.getOrderListFunc()
                },
                //确认收货
                async confirmReceiptFunc(id){
                        //请求方法
    //数据验证
    
  let data64218bff49e61 = await this.$api.dbPost(global.apiUrls.post64218bff49e61, {
    order_id:id
  });
  if(!data64218bff49e61) return
  if (data64218bff49e61.data.code != 1) {
    this.$message.info(data64218bff49e61.data.msg);
    return
  } 
  
  
  
                    this.$message.info('收货成功');
                    this.getOrderListFunc()
                },
                //售后-获取售后列表
                 queryAfterListFunc(){
                                    this.minixPagingListsApi = global.apiUrls.post6427d125edfc5;
                this.pageingListApiMethod = 'post';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {}
                this.listData = [];
                this.dataAfterList = this.listData;
                this.pagingListToggle();
                
                },
                //切换tabs
                 getTabsFunc(){
                        if( this.type!='6'){
                            this.getOrderListFunc()
    }
    else{
                            this.queryAfterListFunc()
    }
                },
                //售后删除
                async AfterSalesDeleteFunc(id){
                        //请求方法
    //数据验证
    
  let data6427dbbacba58 = await this.$api.dbPost(global.apiUrls.post6427dbbacba58, {
    id:id
  });
  if(!data6427dbbacba58) return
  if (data6427dbbacba58.data.code != 1) {
    this.$message.info(data6427dbbacba58.data.msg);
    return
  } 
  
  
  
                    this.$message.info('删除成功');
                    this.queryAfterListFunc()
                },
                //是否多包裹
                 isMultiplePackagesFunc(type,orderId){
                        if( type=='1'){
            this.$urouter.navigateTo(`/pages/ddgl/packages/packages?order_id=${orderId}&order_goods_express_id=&id=`);
    }
    else{
            this.$urouter.navigateTo(`/pages/ddgl/logisticsCheck/logisticsCheck?order_id=${orderId}&order_goods_express_id=&id=`);
    }
                },
                pagingListPostData(){
                    return this.pagingListPostDataContent
                },
    //页面监听
    diyPageListen() {
                  uni.$on('shenqingchengg',(data) => {
                                   this.getOrderListFunc()
          });
          uni.$on('shenqingchenggss',(data) => {
                                   this.queryAfterListFunc()
          });
    }                     ,
    //注销页面监听
    diyOffPageListen() {
                     uni.$off('shenqingchengg');
             uni.$off('shenqingchenggss');
    }                     
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F8F8F8;background-size: 100% auto;
        }
    .order_flex_0{
        border-bottom:1px solid rgba(230, 230, 230, 1);background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .order_fd0_1{
        color:#333333;font-size:36rpx;font-weight:500;line-height:50rpx;
    }
    .order_fd0_0_c0{
        width:20rpx;height:36rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 0rpx 0rpx 32rpx;
    }
    .order_fd0_0{
        width:100rpx;height:88rpx;
    }
    .order_titlefd1_0_c8{
        margin:0rpx 24rpx 0rpx 0rpx;
    }
    .order_titlefd1_0_c4{
        margin:0rpx 52rpx 0rpx 0rpx;
    }
    .order_titlefd1_0_c3{
        margin:0rpx 52rpx 0rpx 24rpx;
    }
    .order_linefd1_0{
        background:url(image-path('502.png')) no-repeat;width:64rpx;height:10rpx;top:60rpx;background-size:100% auto !important;border-radius:80rpx 80rpx 80rpx 80rpx;
    }
    .checkTitlefd1_0{
        font-weight:500 !important;font-size:32rpx !important;color:rgba(51, 51, 51, 1) !important;background-color:rgba(255, 255, 255, 1) !important;
    }
    ::v-deep .order_benbenTabsfd1_0{
        background:#fff;width:750rpx;height:90rpx;white-space:nowrap;text-align:center;font-size:28rpx;font-weight:400;color:rgba(102, 102, 102, 1);
    }
    .order_flex_2{
        padding:24rpx 24rpx 0rpx 24rpx;
    }
    .order_fd2_0_c3_c3{
        background:var(--benbenbgColor7);border-radius:50rpx 50rpx 50rpx 50rpx;font-size:24rpx;color:#fff;width:144rpx;height:56rpx;line-height:56rpx;margin:0rpx 0rpx 0rpx 24rpx;
    }
    .order_fd2_0_c3_c1{
        background:var(--benbenbgColor5);border-radius:28rpx 28rpx 28rpx 28rpx;font-size:24rpx;color:#333;width:144rpx;height:56rpx;line-height:56rpx;margin:0rpx 0rpx 0rpx 24rpx;
    }
    .order_fd2_0_c3_c0{
        background:var(--benbenbgColor5);border-radius:28rpx 28rpx 28rpx 28rpx;font-size:24rpx;color:#333;width:144rpx;height:56rpx;line-height:56rpx;
    }
    .order_fd2_0_c3{
        margin:32rpx 0rpx 32rpx 0rpx;
    }
    .order_fd2_0_c2_c5{
        color:#333;font-weight:700;line-height:40rpx;font-size:22rpx;
    }
    .order_fd2_0_c2_c4{
        line-height:40rpx;font-size:22rpx;font-weight:700;color:#333;
    }
    .order_fd2_0_c2_c3_1{
        line-height:28rpx;font-size:20rpx;font-weight:400;color:rgba(153, 153, 153, 1);margin:0rpx 11rpx 0rpx 0rpx;
    }
    .order_fd2_0_c2_c3{
        line-height:33rpx;font-size:24rpx;font-weight:400;color:rgba(153, 153, 153, 1);margin:0rpx 11rpx 0rpx 0rpx;
    }
    .order_fd2_0_c2_c2{
        margin:0rpx 16rpx 0rpx 0rpx;line-height:33rpx;font-size:24rpx;font-weight:500;color:#999999;
    }
    .order_fd2_0_c2_c0{
        line-height:33rpx;font-size:24rpx;font-weight:400;color:rgba(153, 153, 153, 1);
    }
    .order_fd2_0_c2{
        border-top:1px solid #eee;padding:24rpx 0rpx 0rpx 0rpx;
    }
    .order_fd2_0_c1_c1_c2_c1_c0{
        line-height:33rpx;font-size:24rpx;font-weight:400;color:#999999;
    }
    .order_price2_fd2_0_c1_c1_c2_c0_c1{
        font-size:22rpx;
    }
    .order_price1_fd2_0_c1_c1_c2_c0_c1{
        font-size:32rpx;
    }
    .order_fd2_0_c1_c1_c2_c0_c1{
        color:var(--benbenFontColor0);font-weight:700;line-height:40rpx;font-size:22rpx;
    }
    .order_fd2_0_c1_c1_c2_c0_c0{
        line-height:40rpx;font-size:22rpx;font-weight:700;color:var(--benbenFontColor0);
    }
    .order_fd2_0_c1_c1_c1{
        line-height:33rpx;font-size:24rpx;font-weight:400;color:#999999;margin:8rpx 0rpx auto 0rpx;
    }
    .order_fd2_0_c1_c1_c0{
        line-height:45rpx;font-size:28rpx;font-weight:600;color:#333333;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .order_fd2_0_c1_c1{
        margin:0rpx 0rpx 0rpx 24rpx;
    }
    .order_fd2_0_c1_c0{
        width:200rpx;height:200rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
    }
    .order_fd2_0_c1{
        margin:0rpx 0rpx 32rpx 0rpx;
    }
    .order_fd2_0_c0_c2{
        line-height:40rpx;font-size:28rpx;font-weight:400;color:var(--benbenFontColor5);
    }
    .order_fd2_0_c0_c1{
        font-size:28rpx;color:var(--benbenFontColor2);margin:0rpx auto 0rpx 0rpx;
    }
    .order_fd2_0_c0_c0{
        font-size:28rpx;color:var(--benbenFontColor2);
    }
    .order_fd2_0_c0{
        padding:32rpx 0rpx 32rpx 0rpx;
    }
    .order_fd2_0{
        background:#fff;border-radius:16rpx 16rpx 16rpx 16rpx;background-size:100% auto !important;padding:0rpx 24rpx 0rpx 24rpx;margin:0rpx 0rpx 24rpx 0rpx;
    }
    .order_flex_3{
        background:#fff;background-size:100% auto !important;border-radius:24rpx 24rpx 0rpx 0rpx;
    }
    .order_fd3_0_c2_c0_c0_c1{
        width:32rpx;height:32rpx;
    }
    .order_fd3_0_c2_c0_c0{
        padding:20rpx 0rpx 20rpx 0rpx;
    }
    .order_fd3_0_c2{
        touch-action:none;width:686rpx;height:40vh;margin:0rpx auto 40rpx auto;
    }
    .order_fd3_0_c1_c0{
        font-size:28rpx;font-weight:400;color:#666666;padding:25rpx 24rpx 25rpx 24rpx;
    }
    .order_fd3_0_c1{
        background:#F8F8F8;
    }
    .order_fd3_0_c0_c2{
        font-size:28rpx;font-weight:700;color:var(--benbenFontColor5);line-height:40rpx;
    }
    .order_fd3_0_c0_c1{
        font-size:36rpx;font-weight:700;color:#333333;
    }
    .order_fd3_0_c0_c0{
        font-size:28rpx;font-weight:400;color:#999999;line-height:40rpx;
    }
    .order_fd3_0_c0{
        padding:32rpx 32rpx 32rpx 32rpx;
    }
    .order_fd3_0{
        border-radius:24rpx 24rpx 0rpx 0rpx;
    }
    .order_flex_4{
        padding:24rpx 24rpx 0rpx 24rpx;
    }
    .order_fd4_0_c2_c1{
        background:var(--benbenbgColor5);border-radius:28rpx 28rpx 28rpx 28rpx;font-size:24rpx;color:#333;width:160rpx;height:56rpx;line-height:56rpx;
    }
    .order_fd4_0_c2_c0{
        background:var(--benbenbgColor5);border-radius:28rpx 28rpx 28rpx 28rpx;font-size:24rpx;color:#333;width:160rpx;height:56rpx;line-height:56rpx;margin:0rpx 24rpx 0rpx 0rpx;
    }
    .order_fd4_0_c2{
        border-top:1px solid #eee;margin:0rpx 0rpx 32rpx 0rpx;padding:24rpx 0rpx 0rpx 0rpx;
    }
    .order_fd4_0_c1_c1_c2_c1_c0{
        line-height:33rpx;font-size:24rpx;font-weight:400;color:#999999;
    }
    .order_price2_fd4_0_c1_c1_c2_c0_c1{
        font-size:22rpx;
    }
    .order_price1_fd4_0_c1_c1_c2_c0_c1{
        font-size:32rpx;
    }
    .order_fd4_0_c1_c1_c2_c0_c1{
        color:var(--benbenFontColor0);font-weight:700;line-height:40rpx;font-size:22rpx;
    }
    .order_fd4_0_c1_c1_c2_c0_c0{
        line-height:40rpx;font-size:22rpx;font-weight:700;color:var(--benbenFontColor0);
    }
    .order_fd4_0_c1_c1_c1{
        line-height:33rpx;font-size:24rpx;font-weight:400;color:#999999;margin:8rpx 0rpx auto 0rpx;
    }
    .order_fd4_0_c1_c1_c0{
        line-height:42rpx;font-size:28rpx;font-weight:600;color:#333333;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .order_fd4_0_c1_c1{
        margin:0rpx 0rpx 0rpx 24rpx;
    }
    .order_fd4_0_c1_c0{
        width:200rpx;height:200rpx;border-radius:16rpx 16rpx 16rpx 16rpx;
    }
    .order_fd4_0_c1{
        margin:0rpx 0rpx 32rpx 0rpx;
    }
    .order_fd4_0_c0_c3_c0{
        line-height:40rpx;font-size:28rpx;font-weight:400;color:var(--benbenFontColor5);
    }
    .order_fd4_0_c0_c2_1{
        border:1px solid rgba(47, 152, 254, 1);background:rgba(47, 152, 254, 0.06);color:rgba(47, 152, 254, 1);font-size:22rpx;font-weight:500;border-radius:40rpx 40rpx 0rpx 40rpx;padding:0rpx 10rpx 0rpx 10rpx;margin:0rpx 10rpx 0rpx 0rpx;line-height:32rpx;height:32rpx;
    }
    .order_fd4_0_c0_c2{
        border:1px solid var(--benbenbdColor8);background:rgba(47, 152, 254, 0.06);color:var(--benbenFontColor4);font-size:22rpx;font-weight:500;border-radius:40rpx 40rpx 0rpx 40rpx;padding:0rpx 10rpx 0rpx 10rpx;margin:0rpx 10rpx 0rpx 0rpx;line-height:32rpx;height:32rpx;
    }
    .order_fd4_0_c0_c1{
        margin:0rpx auto 0rpx 0rpx;color:var(--benbenFontColor2);font-size:28rpx;
    }
    .order_fd4_0_c0_c0{
        font-size:28rpx;color:var(--benbenFontColor2);
    }
    .order_fd4_0_c0{
        padding:32rpx 0rpx 32rpx 0rpx;
    }
    .order_fd4_0{
        background:#fff;border-radius:16rpx 16rpx 16rpx 16rpx;background-size:100% auto !important;padding:0rpx 24rpx 0rpx 24rpx;margin:0rpx 0rpx 24rpx 0rpx;
    }
    .order_flex_5{
        background:#FFFFFF;border-radius:24rpx 24rpx 0rpx 0rpx;padding:41rpx 24rpx 40rpx 24rpx;
    }
    .order_fd5_3{
        background:var(--benbenbgColor5);border-radius:44rpx 44rpx 44rpx 44rpx;font-size:32rpx;color:rgba(102, 102, 102, 1);width:686rpx;height:80rpx;line-height:80rpx;margin:0rpx 8rpx 0rpx 8rpx;
    }
    .order_fd5_2{
        background:var(--benbenbgColor7);border-radius:44rpx 44rpx 44rpx 44rpx;font-size:32rpx;color:var(--benbenFontColor3);width:686rpx;height:80rpx;line-height:80rpx;margin:56rpx 8rpx 24rpx 8rpx;
    }
    .order_fd5_1_c1_c0{
        width:400rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .order_fd5_1_c1{
        width:100%;padding:50rpx 0rpx 50rpx 0rpx;
    }
    .order_fd5_1_c0_c0_c1_c1_c1_c1{
        color:#666666;font-size:28rpx;font-weight:400;line-height:40rpx;margin:0rpx 0rpx 0rpx 12rpx;
    }
    .order_fd5_1_c0_c0_c1_c1_c1_c0{
        width:30rpx;height:30rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .order_fd5_1_c0_c0_c1_c1_c0_c1{
        margin:8rpx 0rpx 0rpx 0rpx;
    }
    .order_fd5_1_c0_c0_c1_c1_c0_c0_c1{
        color:#999999;font-size:24rpx;font-weight:400;line-height:33rpx;margin:0rpx 0rpx 0rpx 10rpx;
    }
    .order_fd5_1_c0_c0_c1_c1_c0_c0_c0{
        color:#999999;font-size:24rpx;font-weight:400;line-height:33rpx;
    }
    .order_fd5_1_c0_c0_c1_c1{
        margin:16rpx 0rpx 0rpx 0rpx;
    }
    .order_fd5_1_c0_c0_c1_c0_c2_c0_1{
        color:#B82441;font-size:24rpx;font-weight:400;line-height:33rpx;
    }
    .order_fd5_1_c0_c0_c1_c0_c2_c0{
        color:var(--benbenFontColor5);font-size:24rpx;font-weight:400;line-height:33rpx;
    }
    .order_fd5_1_c0_c0_c1_c0_c2{
        background:var(--benbenbgColor8);margin:0rpx 0rpx 0rpx auto;border-radius:8rpx 8rpx 8rpx 8rpx;padding:0rpx 8rpx 0rpx 8rpx;
    }
    .order_fd5_1_c0_c0_c1_c0_c1{
        width:64rpx;height:33rpx;border-radius:0rpx 0rpx 0rpx 0rpx;margin:0rpx 0rpx 0rpx 16rpx;
    }
    .order_fd5_1_c0_c0_c1_c0_c0{
        color:#333333;font-size:28rpx;font-weight:500;line-height:40rpx;
    }
    .order_fd5_1_c0_c0_c1{
        margin:0rpx 0rpx 0rpx 32rpx;
    }
    .order_fd5_1_c0_c0_c0{
        width:32rpx;height:32rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .order_fd5_1_c0_c0{
        background:#F8F8F8;border-radius:16rpx 16rpx 16rpx 16rpx;padding:32rpx 32rpx 32rpx 32rpx;margin:32rpx 0rpx 0rpx 0rpx;
    }
    ::v-deep .order_fd5_1_c0{
        width:702rpx;
    }
    .order_fd5_1{
        touch-action:none;height:40vh;width:702rpx;
    }
    .order_fd5_0_c3{
        width:40rpx;height:40rpx;border-radius:0rpx 0rpx 0rpx 0rpx;position:absolute;top:-16rpx;right:0rpx;
    }
    .order_fd5_0_c1{
        color:#333333;font-size:36rpx;font-weight:500;line-height:50rpx;margin:0rpx 24rpx 0rpx 24rpx;
    }
    .order_fd5_0_c0{
        width:32rpx;height:10rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .order_fd5_0{
        position:relative;
    }
</style>